remove decimal php

39

remove decimal php -

$var = 252.587254564;
$var = (int)$var; // 252

remove number after decimal in php -

(int)-1.2

Comments

Submit
0 Comments